package pv.smallxy.bungeefriend;

import net.md_5.bungee.api.plugin.Command;
import net.md_5.bungee.api.plugin.Plugin;
import net.md_5.bungee.config.Configuration;
import net.md_5.bungee.config.ConfigurationProvider;
import net.md_5.bungee.config.YamlConfiguration;

import java.io.File;
import java.io.IOException;

public class main extends Plugin {

    private configManager configManager;

    public configManager getConfigManager() {
        return this.configManager;
    }

    @Override
    public void onEnable() {
        // Plugin startup logic
        try {
            this.configManager = new configManager(this);
        } catch (IOException e) {
            e.printStackTrace();
        }
        System.out.println("BungeeFriend加载成功");
        if (!this.configManager.getConfig(). ) {
//            g  etProxy().getPluginManager().registerCommand(this, (Command)this.tellCommand);
        }
        this.configManager.
    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
